#include "copycat.h"

int main( int argc, char *argv[] )
{
	if( argc != 4 )	{
		fprintf( stderr, "usage: %s  trained-dir  parse  out-dir\n", argv[0] );
		return 1;
	}

	CCopycatTest copycat;
	if( copycat.LoadRuleCR( argv[1], 0 )== false )	{
		return 1;
	}

	if( copycat.ApplyRule( argv[2], argv[3], "CR" ) == false )	{
		return 1;
	}


	return 0;
}

